using System.Runtime.CompilerServices;
using SageKing.Designer.Core.Models;
using SageKing.Designer.Core.Attributes;
using SageKing.Designer.Core.Contracts;
using SageKing.Designer.Core.Models;

namespace SageKing.Designer.Core.Activities;

/// <summary>
/// Read a line of text from the console.
/// </summary>
[Activity("SageKing", "Console", "Read a line of text from the console.")]
public class ReadLine : CodeActivity<string>
{
    /// <inheritdoc />
    public ReadLine([CallerFilePath] string? source = default, [CallerLineNumber] int? line = default) : base(source, line)
    {
    }

    /// <inheritdoc />
    public ReadLine(MemoryBlockReference output, [CallerFilePath] string? source = default, [CallerLineNumber] int? line = default) : base(output, source, line)
    {
    }

    /// <inheritdoc />
    public ReadLine(Output<string>? output, [CallerFilePath] string? source = default, [CallerLineNumber] int? line = default) : base(output, source, line)
    {
    } 
}